package com.eshop.modules.activity.vo;

import com.eshop.modules.user.vo.UserQueryVo;
import java.util.List;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class PinkInfoVo implements Serializable
{
    @ApiModelProperty("还差几人成团")
    private Integer count;
    @ApiModelProperty("当前拼团数据返回订单编号")
    private String currentPinkOrder;
    @ApiModelProperty("是否完成 0未完成 1完成")
    private Integer isOk;
    @ApiModelProperty("拼团信息列表")
    private List<StorePinkQueryVo> pinkAll;
    @ApiModelProperty("拼团状态 0未成功，进行中 1已成功 -1拼团失败")
    private Integer pinkBool;
    @ApiModelProperty("拼团信息")
    private StorePinkQueryVo pinkT;
    @ApiModelProperty("拼团内容信息")
    private StoreCombinationQueryVo storeCombination;
    @ApiModelProperty("拼团内容")
    private String storeCombinationHost;
    @ApiModelProperty("是否在团内 0不在 1在")
    private Integer userBool;
    @ApiModelProperty("拼团用户信息")
    private UserQueryVo userInfo;
    @ApiModelProperty("库存唯一值")
    private String uniqueId;
    
    PinkInfoVo(final Integer count, final String currentPinkOrder, final Integer isOk, final List<StorePinkQueryVo> pinkAll, final Integer pinkBool, final StorePinkQueryVo pinkT, final StoreCombinationQueryVo storeCombination, final String storeCombinationHost, final Integer userBool, final UserQueryVo userInfo, final String uniqueId) {
        this.isOk = 0;
        this.pinkBool = 0;
        this.userBool = 0;
        this.count = count;
        this.currentPinkOrder = currentPinkOrder;
        this.isOk = isOk;
        this.pinkAll = pinkAll;
        this.pinkBool = pinkBool;
        this.pinkT = pinkT;
        this.storeCombination = storeCombination;
        this.storeCombinationHost = storeCombinationHost;
        this.userBool = userBool;
        this.userInfo = userInfo;
        this.uniqueId = uniqueId;
    }
    
    public static PinkInfoVoBuilder builder() {
        return new PinkInfoVoBuilder();
    }
    
    public Integer getCount() {
        return this.count;
    }
    
    public String getCurrentPinkOrder() {
        return this.currentPinkOrder;
    }
    
    public Integer getIsOk() {
        return this.isOk;
    }
    
    public List<StorePinkQueryVo> getPinkAll() {
        return this.pinkAll;
    }
    
    public Integer getPinkBool() {
        return this.pinkBool;
    }
    
    public StorePinkQueryVo getPinkT() {
        return this.pinkT;
    }
    
    public StoreCombinationQueryVo getStoreCombination() {
        return this.storeCombination;
    }
    
    public String getStoreCombinationHost() {
        return this.storeCombinationHost;
    }
    
    public Integer getUserBool() {
        return this.userBool;
    }
    
    public UserQueryVo getUserInfo() {
        return this.userInfo;
    }
    
    public String getUniqueId() {
        return this.uniqueId;
    }
    
    public void setCount(final Integer count) {
        this.count = count;
    }
    
    public void setCurrentPinkOrder(final String currentPinkOrder) {
        this.currentPinkOrder = currentPinkOrder;
    }
    
    public void setIsOk(final Integer isOk) {
        this.isOk = isOk;
    }
    
    public void setPinkAll(final List<StorePinkQueryVo> pinkAll) {
        this.pinkAll = pinkAll;
    }
    
    public void setPinkBool(final Integer pinkBool) {
        this.pinkBool = pinkBool;
    }
    
    public void setPinkT(final StorePinkQueryVo pinkT) {
        this.pinkT = pinkT;
    }
    
    public void setStoreCombination(final StoreCombinationQueryVo storeCombination) {
        this.storeCombination = storeCombination;
    }
    
    public void setStoreCombinationHost(final String storeCombinationHost) {
        this.storeCombinationHost = storeCombinationHost;
    }
    
    public void setUserBool(final Integer userBool) {
        this.userBool = userBool;
    }
    
    public void setUserInfo(final UserQueryVo userInfo) {
        this.userInfo = userInfo;
    }
    
    public void setUniqueId(final String uniqueId) {
        this.uniqueId = uniqueId;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PinkInfoVo)) {
            return false;
        }
        final PinkInfoVo other = (PinkInfoVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$count = this.getCount();
        final Object other$count = other.getCount();
        Label_0065: {
            if (this$count == null) {
                if (other$count == null) {
                    break Label_0065;
                }
            }
            else if (this$count.equals(other$count)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$isOk = this.getIsOk();
        final Object other$isOk = other.getIsOk();
        Label_0102: {
            if (this$isOk == null) {
                if (other$isOk == null) {
                    break Label_0102;
                }
            }
            else if (this$isOk.equals(other$isOk)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$pinkBool = this.getPinkBool();
        final Object other$pinkBool = other.getPinkBool();
        Label_0139: {
            if (this$pinkBool == null) {
                if (other$pinkBool == null) {
                    break Label_0139;
                }
            }
            else if (this$pinkBool.equals(other$pinkBool)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$userBool = this.getUserBool();
        final Object other$userBool = other.getUserBool();
        Label_0176: {
            if (this$userBool == null) {
                if (other$userBool == null) {
                    break Label_0176;
                }
            }
            else if (this$userBool.equals(other$userBool)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$currentPinkOrder = this.getCurrentPinkOrder();
        final Object other$currentPinkOrder = other.getCurrentPinkOrder();
        Label_0213: {
            if (this$currentPinkOrder == null) {
                if (other$currentPinkOrder == null) {
                    break Label_0213;
                }
            }
            else if (this$currentPinkOrder.equals(other$currentPinkOrder)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$pinkAll = this.getPinkAll();
        final Object other$pinkAll = other.getPinkAll();
        Label_0250: {
            if (this$pinkAll == null) {
                if (other$pinkAll == null) {
                    break Label_0250;
                }
            }
            else if (this$pinkAll.equals(other$pinkAll)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$pinkT = this.getPinkT();
        final Object other$pinkT = other.getPinkT();
        Label_0287: {
            if (this$pinkT == null) {
                if (other$pinkT == null) {
                    break Label_0287;
                }
            }
            else if (this$pinkT.equals(other$pinkT)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$storeCombination = this.getStoreCombination();
        final Object other$storeCombination = other.getStoreCombination();
        Label_0324: {
            if (this$storeCombination == null) {
                if (other$storeCombination == null) {
                    break Label_0324;
                }
            }
            else if (this$storeCombination.equals(other$storeCombination)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$storeCombinationHost = this.getStoreCombinationHost();
        final Object other$storeCombinationHost = other.getStoreCombinationHost();
        Label_0361: {
            if (this$storeCombinationHost == null) {
                if (other$storeCombinationHost == null) {
                    break Label_0361;
                }
            }
            else if (this$storeCombinationHost.equals(other$storeCombinationHost)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$userInfo = this.getUserInfo();
        final Object other$userInfo = other.getUserInfo();
        Label_0398: {
            if (this$userInfo == null) {
                if (other$userInfo == null) {
                    break Label_0398;
                }
            }
            else if (this$userInfo.equals(other$userInfo)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$uniqueId = this.getUniqueId();
        final Object other$uniqueId = other.getUniqueId();
        if (this$uniqueId == null) {
            if (other$uniqueId == null) {
                return true;
            }
        }
        else if (this$uniqueId.equals(other$uniqueId)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof PinkInfoVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $count = this.getCount();
        result = result * 59 + (($count == null) ? 43 : $count.hashCode());
        final Object $isOk = this.getIsOk();
        result = result * 59 + (($isOk == null) ? 43 : $isOk.hashCode());
        final Object $pinkBool = this.getPinkBool();
        result = result * 59 + (($pinkBool == null) ? 43 : $pinkBool.hashCode());
        final Object $userBool = this.getUserBool();
        result = result * 59 + (($userBool == null) ? 43 : $userBool.hashCode());
        final Object $currentPinkOrder = this.getCurrentPinkOrder();
        result = result * 59 + (($currentPinkOrder == null) ? 43 : $currentPinkOrder.hashCode());
        final Object $pinkAll = this.getPinkAll();
        result = result * 59 + (($pinkAll == null) ? 43 : $pinkAll.hashCode());
        final Object $pinkT = this.getPinkT();
        result = result * 59 + (($pinkT == null) ? 43 : $pinkT.hashCode());
        final Object $storeCombination = this.getStoreCombination();
        result = result * 59 + (($storeCombination == null) ? 43 : $storeCombination.hashCode());
        final Object $storeCombinationHost = this.getStoreCombinationHost();
        result = result * 59 + (($storeCombinationHost == null) ? 43 : $storeCombinationHost.hashCode());
        final Object $userInfo = this.getUserInfo();
        result = result * 59 + (($userInfo == null) ? 43 : $userInfo.hashCode());
        final Object $uniqueId = this.getUniqueId();
        result = result * 59 + (($uniqueId == null) ? 43 : $uniqueId.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "PinkInfoVo(count=" + this.getCount() + ", currentPinkOrder=" + this.getCurrentPinkOrder() + ", isOk=" + this.getIsOk() + ", pinkAll=" + this.getPinkAll() + ", pinkBool=" + this.getPinkBool() + ", pinkT=" + this.getPinkT() + ", storeCombination=" + this.getStoreCombination() + ", storeCombinationHost=" + this.getStoreCombinationHost() + ", userBool=" + this.getUserBool() + ", userInfo=" + this.getUserInfo() + ", uniqueId=" + this.getUniqueId() + ")";
    }
    
    public static class PinkInfoVoBuilder
    {
        private Integer count;
        private String currentPinkOrder;
        private Integer isOk;
        private List<StorePinkQueryVo> pinkAll;
        private Integer pinkBool;
        private StorePinkQueryVo pinkT;
        private StoreCombinationQueryVo storeCombination;
        private String storeCombinationHost;
        private Integer userBool;
        private UserQueryVo userInfo;
        private String uniqueId;
        
        PinkInfoVoBuilder() {
        }
        
        public PinkInfoVoBuilder count(final Integer count) {
            this.count = count;
            return this;
        }
        
        public PinkInfoVoBuilder currentPinkOrder(final String currentPinkOrder) {
            this.currentPinkOrder = currentPinkOrder;
            return this;
        }
        
        public PinkInfoVoBuilder isOk(final Integer isOk) {
            this.isOk = isOk;
            return this;
        }
        
        public PinkInfoVoBuilder pinkAll(final List<StorePinkQueryVo> pinkAll) {
            this.pinkAll = pinkAll;
            return this;
        }
        
        public PinkInfoVoBuilder pinkBool(final Integer pinkBool) {
            this.pinkBool = pinkBool;
            return this;
        }
        
        public PinkInfoVoBuilder pinkT(final StorePinkQueryVo pinkT) {
            this.pinkT = pinkT;
            return this;
        }
        
        public PinkInfoVoBuilder storeCombination(final StoreCombinationQueryVo storeCombination) {
            this.storeCombination = storeCombination;
            return this;
        }
        
        public PinkInfoVoBuilder storeCombinationHost(final String storeCombinationHost) {
            this.storeCombinationHost = storeCombinationHost;
            return this;
        }
        
        public PinkInfoVoBuilder userBool(final Integer userBool) {
            this.userBool = userBool;
            return this;
        }
        
        public PinkInfoVoBuilder userInfo(final UserQueryVo userInfo) {
            this.userInfo = userInfo;
            return this;
        }
        
        public PinkInfoVoBuilder uniqueId(final String uniqueId) {
            this.uniqueId = uniqueId;
            return this;
        }
        
        public PinkInfoVo build() {
            return new PinkInfoVo(this.count, this.currentPinkOrder, this.isOk, this.pinkAll, this.pinkBool, this.pinkT, this.storeCombination, this.storeCombinationHost, this.userBool, this.userInfo, this.uniqueId);
        }
        
        @Override
        public String toString() {
            return "PinkInfoVo.PinkInfoVoBuilder(count=" + this.count + ", currentPinkOrder=" + this.currentPinkOrder + ", isOk=" + this.isOk + ", pinkAll=" + this.pinkAll + ", pinkBool=" + this.pinkBool + ", pinkT=" + this.pinkT + ", storeCombination=" + this.storeCombination + ", storeCombinationHost=" + this.storeCombinationHost + ", userBool=" + this.userBool + ", userInfo=" + this.userInfo + ", uniqueId=" + this.uniqueId + ")";
        }
    }
}
